#Makefile for hello.c file

KERNEL_DIR:=/usr/src/linux
obj-m +=hello-4.o
obj-m +=hello-5.o
obj-m +=chardev.o
default:
	$(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD) modules
clean:
	$(RM) .*.cmd *.mod.c *.o *.ko -r .tmp 
